package com.changan.service.impl;

import com.changan.mapper.OrderMapper;
import com.changan.model.Order;
import com.changan.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @program: alipay
 * @description: 订单服务实现类
 * @author: Mr.Nie
 * @create: 2021-12-10 12:27
 **/
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderMapper ordersMapper;

    @Override
    public int insert(Order record) {
        return ordersMapper.insert(record);
    }
}
